﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Domain.Model.Abstract;
using NHibernate.Validator.Constraints;

namespace Domain.Model
{
    public class SubprojectDetail : ProjectItemDetail
    {
        #region Properties

        [NotNull]
        public virtual Subproject Subproject { get; set; }

        #endregion

        #region Constructor

        public SubprojectDetail(string name, string value)
            : base(name, value)
        { 
        
        }

        public SubprojectDetail()
            : this("new subproject detail", "empty")
        { 
        
        }

        #endregion
    }
}